package com.hgw.Demo11_VisitorPattern.VisitorPattern;

/**
 * Data time:2021/12/21 19:58
 * StudentID:2019112118
 * Author:hgw
 * Description:
 */
public class ConcreteVisitor extends Visitor{
    @Override
    public void visit(ConcreteElementA elementA) {
        // 元素 ConcreteElementA 操作代码
    }

    @Override
    public void visit(ConcreteElementB elementB) {
        // 元素 ConcreteElementB 操作代码
    }
}
